package com.kaigejava.rulesengine.engine.core.api;


/**
 * @author kaigejava
 */
public enum RulesChangeType {
    /**
     * add rule.
     */
    ADD(1, "add rule."),
    /**
     * update rule.
     */
    UPDATE(2, "update rule."),
    /**
     * delete rule.
     */
    DELETE(3, "delete rule.");

    private int type;
    private String des;

    RulesChangeType(int type, String des) {
        this.type = type;
        this.des = des;
    }

    public int getType() {
        return this.type;
    }

    public String getDes() {
        return this.des;
    }
}